package com.yjd.comm.spread.model;

import java.io.Serializable;



/**
 * @author SongJian
 *
 */
@SuppressWarnings("serial")
public class SreaderDetailPagerModel implements Serializable{

	
	private Long id;
	
	private String username;
	private String idname;
	private Double spread_rate;
	private Double sum_order_price;
	private Double sum_invest_price;
	private int takon_spread_count;
	private int spread_count;
	private Double takon_spread_reawrds;
	private Double spread_reawrds;
	private Long regdate;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getIdname() {
		return idname;
	}
	public void setIdname(String idname) {
		this.idname = idname;
	}
	public Double getSpread_rate() {
		return spread_rate;
	}
	public void setSpread_rate(Double spread_rate) {
		this.spread_rate = spread_rate;
	}
	public Double getSum_order_price() {
		return sum_order_price;
	}
	public void setSum_order_price(Double sum_order_price) {
		this.sum_order_price = sum_order_price;
	}
	public Double getSum_invest_price() {
		return sum_invest_price;
	}
	public void setSum_invest_price(Double sum_invest_price) {
		this.sum_invest_price = sum_invest_price;
	}
	public int getTakon_spread_count() {
		return takon_spread_count;
	}
	public void setTakon_spread_count(int takon_spread_count) {
		this.takon_spread_count = takon_spread_count;
	}
	public int getSpread_count() {
		return spread_count;
	}
	public void setSpread_count(int spread_count) {
		this.spread_count = spread_count;
	}
	public Double getTakon_spread_reawrds() {
		if(takon_spread_reawrds==null){
			return 0.00;
		}
		return takon_spread_reawrds;
	}
	public void setTakon_spread_reawrds(Double takon_spread_reawrds) {
		this.takon_spread_reawrds = takon_spread_reawrds;
	}
	public Double getSpread_reawrds() {
		if(spread_reawrds==null){
			return 0.00;
		}
		return spread_reawrds;
	}
	public void setSpread_reawrds(Double spread_reawrds) {
		this.spread_reawrds = spread_reawrds;
	}
	public Long getRegdate() {
		return regdate;
	}
	public void setRegdate(Long regdate) {
		this.regdate = regdate;
	}
	
	
	
}
